aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/[username]/receive
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-01-25 23:01:55 -0800
committerAdam Soltys <[email protected]>2023-01-25 23:01:55 -0800
commit06d21d381123f5da01bc92aaff7c185f62e754ca (patch)
tree071975ffa4c30f81a7a25b78b4cfd5f85fdf7ea5 /src/routes/(app)/[username]/receive
parentd5b26e787a0c4c1b0a757f58b537f0a890cb9133 (diff)
downloadcoinos-ui-06d21d381123f5da01bc92aaff7c185f62e754ca.tar.gz
coinos-ui-06d21d381123f5da01bc92aaff7c185f62e754ca.zip
sveltekit 1.0
Diffstat (limited to 'src/routes/(app)/[username]/receive')
-rw-r--r--src/routes/(app)/[username]/receive/[...param]/+page.svelte4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/routes/(app)/[username]/receive/[...param]/+page.svelte b/src/routes/(app)/[username]/receive/[...param]/+page.svelte
index 47c507fa..13c65939 100644
--- a/src/routes/(app)/[username]/receive/[...param]/+page.svelte
+++ b/src/routes/(app)/[username]/receive/[...param]/+page.svelte
@@ -19,6 +19,7 @@
let { currency, username } = data.subject;
let { user } = data;
+ let submit;
</script>
<form method="POST" class="flex justify-center items-center mt-24 mb-3 px-3" use:enhance>
@@ -34,8 +35,9 @@
<input type="hidden" name="prompt" value={false} />
<div class="space-y-3 w-[300px] mx-auto">
- <Numpad bind:amount bind:currency />
+ <Numpad bind:amount bind:currency {submit} />
<button
+ bind:this={submit}
type="submit"
class="bg-black text-white rounded-xl w-full h-[48px] flex justify-center items-center font-semibold
opacity-100 hover:opacity-80"